package com.cc.visitor.service;

import com.cc.visitor.dao.VisitMiniMsgMapper;
import com.cc.visitor.entity.VisitMiniMsg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chanchaw
 * @create 2025-01-11 10:54
 */
@Service
public class VisitMiniMsgServiceImpl implements VisitMiniMsgService{
    @Autowired
    private VisitMiniMsgMapper dao;
    @Override
    public VisitMiniMsg insertSelective(VisitMiniMsg record) {
        int i = dao.insertSelective(record);
        return dao.selectOneById(record.getId());
    }
}
